/*
 * CopyRight(C) Kenbin
 */

#ifndef LWS_CPOSTAG_INCLUDED
#define LWS_CPOSTAG_INCLUDED

#include "lws_wordgraph.h"
#include "lws_hmm.h"
#include "lws_triedict.h"
#include "lws_recog.h"
#include <vector>

using namespace std;

namespace LWS {

    class CPosTag
    {
	public:
	    CPosTag(CHmm *hmm);

	    void PosTag(vector<int> &best_wordids);
	    vector<short>& BestStates() { return m_best_states; }

	private:
	    CHmmAlgo m_hmmalgo;
	    vector<short> m_best_states;
    };

};

#endif
